home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
FileMaker Pro 4
/
Full FM4 Web
/
shopping_cart
/
includes
/
nav.js
< prev
next >
Wrap
Text File
|
1997-09-14
|
3KB
|
2 lines
<!--Begin Include: nav.js--><SCRIPT LANGUAGE="JavaScript"> <!--Hide from older browsers var app; ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3)) ? versionOK=true : versionOK=false; // Localize here... back_txt = "Go back to your previous page."; find_txt = "Perform Your Search."; checkout_txt = "Check Out Your Purchase."; cont_txt = "Continue With Your Purchase."; update_txt = "Update Your Information."; buy_txt = "Purchase this item."; del_txt = "Delete this item from your cart."; edit_txt = "Change the purchase quantity of this item."; search_txt = "Search Our Catalog."; specials_txt = "See Our Specials."; browse_txt = "Browse Our Catalog."; cart_txt = "View Your Shopping Cart."; random_txt = "See a Random Album."; // ...end localize if (versionOK) { back = new Image(); back_active = new Image(); find = new Image(); find_active = new Image(); checkout = new Image(); checkout_active = new Image(); cont = new Image(); cont_active = new Image(); update = new Image(); update_active = new Image(); buy = new Image(); buy_active = new Image(); del = new Image(); del_active = new Image(); edit = new Image(); edit_active = new Image(); search = new Image(); search_active = new Image(); specials = new Image(); specials_active = new Image(); browse = new Image(); browse_active = new Image(); cart = new Image(); cart_active = new Image(); back.src = "images/back1.gif"; back_active.src = "images/back2.gif"; find.src = "images/find1.gif"; find_active.src = "images/find2.gif"; checkout.src = "images/checkout1.gif"; checkout_active.src = "images/checkout2.gif"; cont.src = "images/continue1.gif"; cont_active.src = "images/continue2.gif"; update.src = "images/update1.gif"; update_active.src = "images/update2.gif"; buy.src = "images/buy1.gif"; buy_active.src = "images/buy2.gif"; del.src = "images/delete1.gif"; del_active.src = "images/delete2.gif"; edit.src = "images/edit1.gif"; edit_active.src = "images/edit2.gif"; search.src = "images/search1.gif"; search_active.src = "images/search2.gif"; specials.src = "images/specials1.gif"; specials_active.src = "images/specials2.gif"; browse.src = "images/browse1.gif"; browse_active.src = "images/browse2.gif"; cart.src = "images/cart1.gif"; cart_active.src = "images/cart2.gif"; } function helptxt ( name ) { if ( name == "" ) self.status = ""; else self.status = eval(name + "_txt"); return true; } function setimg ( name, activate ) { var obj; var indx; if (versionOK) { indx = name.indexOf("."); if (indx > 0 ) obj = name.substring(0,indx); else obj = name; if (activate) { document[name].src = eval(obj + "_active" + ".src"); return helptxt ( obj ); } else { document[name].src = eval(obj + ".src"); return helptxt ( "" ); } } } //End hiding--> </SCRIPT><!--End Include: nav.js-->